package com.chenbei.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

//响应结果枚举类
@AllArgsConstructor
@Getter
public enum ResponseResultEnum {

    SUCCESS(0,"操作成功"),
    REQUEST_PARAM_VERIFY_FAILED(3001,"请求参数错误"),
    USER_AUTHENTICATION_FAILED(3002, "用户认证失败"),
    USER_NOT_PERMISSION(3012, "无操作权限"),
    LOGIC_HANDLE_EXCEPTION(3103, "逻辑处理异常"),
    SERVER_ERROR(5001,"服务器内部错误"),;

    private final int code;

    private final String message;
}
